package com.example.data_save.util;

/**
 * @author: snjgm
 * data: 2022/7/19
 * description:
 */
public enum ResultEnum {

    SUCCESSFUL("200","成功"),
    FAILURE_500("500","服务器错误");

    private String code;
    private String message;

    private ResultEnum() {
    }

    private ResultEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
